package com.ylwl.datacenterdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface DynamicDataMapper extends BaseMapper<Object> {
    /**
     * 插入动态表数据
     * @param tableName 表名
     * @param data 数据
     * @return 影响行数
     */
    int insertDynamicData(@Param("tableName") String tableName, @Param("data") Map<String, Object> data);
}